<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page contentType="text/html; charset=utf-8" %>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>NavBar</title>
    <link rel="stylesheet" href="${resource(dir: 'css', file: 'frame.css')}" type="text/css">
    <r:external dir="js" file="project.js"/>
</head>
<script type="text/javascript">
    var preClassName = "man_nav_1";
    function list_sub_nav(Id, moduleName) {
        if (preClassName != "") {
            getObject(preClassName).className = "bg_image";
        }
        if (getObject(Id).className == "bg_image") {
            getObject(Id).className = "bg_image_onclick";
            preClassName = Id;
            showInnerText(moduleName);
            window.top.frames['leftFrame'].outlookbar.getLeftMenu(moduleName);
            window.top.frames['leftFrame'].outlookbar.getDefaultExpandMenu(moduleName);
        }
    }

    function showInnerText(navTitle) {
        getObject('show_text').innerHTML = navTitle;
    }
</script>

<body>
<div id="nav">
    <ul>
        <li id="man_nav_1" onclick="list_sub_nav(id, '管理首页')" class="bg_image_onclick">管理首页</li>
        <li id="man_nav_2" onclick="list_sub_nav(id, '存贷报表')" class="bg_image">存贷报表</li>
        <li id="man_nav_3" onclick="list_sub_nav(id, '信息查询')" class="bg_image">信息查询</li>
        <li id="man_nav_4" onclick="list_sub_nav(id, '账户管理')" class="bg_image">账户管理</li>
        <li id="man_nav_5" onclick="list_sub_nav(id, '系统设置')" class="bg_image">系统设置</li>
    </ul>
</div>

<div id="sub_info">
    &nbsp;&nbsp;
    <img src="${request.contextPath}/images/frame/hi.gif"/>&nbsp;
    <span id="show_text">欢迎使用<g:message code="project.name"/>!</span>
</div>
</body>
</html>